import request from '@/utils/encryptionRequest';

// 发送验证码
export function register(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/register.do',
    data,
    opt,
  });
}

// 发送验证码
export function sendSms(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/sendSms.do',
    data,
    opt,
  });
}

// 获取系统配置
export function sysconfig(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/sysconfig.do',
    data,
    opt,
  });
}
